package com.gitee.wsl.compose.ext.ui

import androidx.compose.foundation.layout.*
import androidx.compose.material3.Divider
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import com.gitee.wsl.compose.ui.base.Vertical

//中间的两条线
@Composable
internal fun BoxScope.CenterLines( lineColor:Color = Color(0xffe6e6e6)) {
    Column(Modifier.fillMaxWidth().align(Alignment.Center)) {
        Divider(Modifier.fillMaxWidth().height(1.dp),color= lineColor)
        com.gitee.wsl.compose.ui.base.Spacer.Vertical(48)
        Divider(Modifier.fillMaxWidth().height(1.dp),color= lineColor)
    }
}